/*
 * 易族智汇（北京）科技有限公司 版权所有。
 * 未经许可，您不得使用此文件。
 * 官方地址：www.javamall.com.cn
 */
package com.enation.app.javashop.core.client.feignimpl.member;

import com.enation.app.javashop.client.member.MemberCollectionShopClient;
import com.enation.app.javashop.core.client.fallback.member.MemberCollectionShopFallbackFactory;
import com.enation.app.javashop.core.handler.FeignConfiguration;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 会员收藏店铺client
 *
 * @author fk
 * @version v.2.0
 * @date 20/2/23 下午4:42
 * @since v7.2.0
 */
@FeignClient(name = "member-service", fallbackFactory = MemberCollectionShopFallbackFactory.class,configuration = {FeignConfiguration.class})
public interface MemberCollectionShopClientFeignImpl extends MemberCollectionShopClient {

    /**
     * 修改某店铺商品店铺名称
     *
     * @param sellerId
     * @param sellerName
     */
    @RequestMapping(value = "/client/members/collection-shop/{seller_id}/change-name",method = RequestMethod.POST)
    @Override
    void changeSellerName(@PathVariable("seller_id") Long sellerId, @RequestParam("seller_name") String sellerName);





}
